<?php
if (!defined("_INDEX")) { header("Location: /"); die; }

switch($route->getAdminId())
{
	case "view": require_once ADMIN.DS."_moder".DS."cview.php"; break;
	case "approve": require_once ADMIN.DS."_moder".DS."capprove.php"; break;
	case "unapprove": require_once ADMIN.DS."_moder".DS."cunapprove.php"; break;
	case "edit": require_once ADMIN.DS."_moder".DS."cedit.php"; break;
	case "delete": require_once ADMIN.DS."_moder".DS."cdelete.php"; break;
	
	default: goToPage("/admin/moder/comments/view");
}

?>